//
//  Waterfall.h
//  测试小型VIEW的加载
//
//  Created by yishangpin2 on 15/3/4.
//  Copyright (c) 2015年 yishangpin2. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface Waterfall : UIView
@property (weak, nonatomic) IBOutlet UIImageView *pic;
@property (weak, nonatomic) IBOutlet UIView *smallview;
@property (weak, nonatomic) IBOutlet UILabel *OriginalCost;
@property (weak, nonatomic) IBOutlet UILabel *CurrentPrice;
@property (nonatomic) float viewY;


-(void)ViewframSetX:(int)setX SetY:(int)setY Pic:(UIImage*)image delegateW:(float)width;
-(void)SetOldPrice:(float)oldprice SetNewPrice:(float)newprice;

@property (weak, nonatomic) IBOutlet UIImageView *CorrectImage;
@property (weak, nonatomic) IBOutlet UIButton *Collect;
- (IBAction)Collect:(id)sender;
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *Activity;
- (IBAction)clickBuyButton:(id)sender;

@end
